package com.zzti.service;


import com.zzti.pojo.Waiter;

import java.util.List;
import java.util.Map;

public interface WaiterService {
    Waiter findOne(Integer id);

    List<Waiter> findAll(Map map);

    List<Waiter> findAll2(Map map);

    Waiter selectByName(String name);

    Integer update(Waiter waiter);

    Waiter findOneWaiter(Integer id);

    Waiter queryByAcc(String loginUsername, String loginPassword);

    Waiter queryManager(String loginUsername, String loginPassword);

    Integer deleteByIds(Integer[] ids);

    Integer add(Waiter waiter);
}
